#define _CRT_SECURE_NO_WARNINGS 1

#include"SLlist.h"

void test1()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 2);
	SLTPushBack(&plist, 3);
	SLTPushBack(&plist, 4);
	SLTPushBack(&plist, 5);

	SLTPrint(plist);


}

test2()
{
	SLTNode* plist = NULL;

	SLTPushFront(&plist,1);
	SLTPushFront(&plist, 2);
	SLTPushFront(&plist, 3);
	SLTPushFront(&plist, 4);


	SLTPrint(plist);

	SLTDelBack(&plist);
	SLTPrint(plist);
	SLTDelFront(&plist);
	SLTPrint(plist);





}


int main()
{
	//test1();
	test2();


	return 0;
}